
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.DEV
{

	public partial class DEV_SPAREModel:Virtual_DEV_SPAREModel
	{
		
	}
	public class Virtual_DEV_SPAREModel
	{
		[Display(Name = "设备零部件性能参数编号")]
		public virtual string SPARE_ID { get; set; }
		[Display(Name = "设备编号")]
		public virtual string EQUIPMENT_ID { get; set; }
        [Required]
        [StringLength(40)]
        [Display(Name = "名称")]
		public virtual string NAME { get; set; }
        [Required]
        [StringLength(40)]
        [Display(Name = "规格型号")]
		public virtual string MODELTYPE { get; set; }
        [Required]
        [StringLength(40)]
        [Display(Name = "生产厂家")]
		public virtual string MANUFACTOR { get; set; }
        [Display(Name = "数量"), RangeAttribute(0, 999)]
		public virtual Nullable<int> NUMBER { get; set; }
        [StringLength(4)]
        [Display(Name = "单位")]
		public virtual string COMPANY { get; set; }
		}
}
